package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 点赞添加
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/2/27 19:47
 * @since v1.0
 */
@Getter
@Setter
public class LikeAddDTO extends BaseDTO {
    /**
     * 点赞
     */
    @NotNull(message = "{dto.msg.likeAdd.dataId.NotNull}")
    private Long dataId;
    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.likeAdd.appId.NotNull}")
    private Long appId;
    /**
     * 业务
     */
    @NotNull(message = "{dto.msg.likeAdd.businessType.NotNull}")
    private Integer businessType;
}
